package com.ykt.service;

import com.ykt.model.Category;

import java.util.List;

/** 市场的商品分类
 * @author long.hua
 * @version 1.0.0
 * @since 2016-05-28 12:36
 */
public class CategoryService {

    private Category categoryDao = Category.dao;


    public List<Category> findByPid(int marketId, int pid){
        return categoryDao.findByPid(marketId, pid);
    }

}
